/**
 *Copyright (c) 2024 watereyes
 * safetymanagement is licensed under Mulan PubL v2.
 * You can use this software according to the terms and conditions of the Mulan
 * PubL v2.
 * You may obtain a copy of Mulan PubL v2 at:
 *          http://license.coscl.org.cn/MulanPubL-2.0
 * THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
 * EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
 * MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
 * See the Mulan PubL v2 for more details.
 */
package com.koron.scene.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.koron.common.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


@ApiModel(value = "班前会", description = "班前会实体类")
public class PreShiftMeeting extends BaseEntity {

    @ApiModelProperty(name = "corpCode", value = "水司code" )
    private String corpCode;

    @ApiModelProperty(name = "corpName", value = "水司名称" )
    private String corpName;

    @ApiModelProperty(name = "teamName", value = "班组名称" )
    private String teamName;

    @ApiModelProperty(name = "shiftForeman", value = "值班长code" )
    private String shiftForeman;

    @ApiModelProperty(name = "shiftForemanName", value = "值班长name" )
    private String shiftForemanName;

    @ApiModelProperty(name = "meetingTime", value = "时间" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date meetingTime;

    @ApiModelProperty(name = "explains", value = "说明" )
    private String explains;

    @ApiModelProperty(name = "attachment", value = "附件地址" )
    private String attachment;

    @ApiModelProperty(name = "safetyPrecautions", value = "安全注意事项" )
    private String safetyPrecautions;

    @ApiModelProperty(name = "status", value = "状态 0草稿，1已提交" )
    private Integer status;

    @ApiModelProperty(name = "teamMemberList", value = "班前会班组成员集合" )
    private List<PreShiftMeetingTeamMember> teamMemberList;

    private String meetTime;

    public String getMeetTime() {
        return meetTime;
    }

    public void setMeetTime(String meetTime) {
        this.meetTime = meetTime;
    }

    public String getCorpCode() {
        return corpCode;
    }

    public void setCorpCode(String corpCode) {
        this.corpCode = corpCode;
    }

    public String getCorpName() {
        return corpName;
    }

    public void setCorpName(String corpName) {
        this.corpName = corpName;
    }

    public String getTeamName() {
        return teamName;
    }

    public void setTeamName(String teamName) {
        this.teamName = teamName;
    }

    public String getShiftForeman() {
        return shiftForeman;
    }

    public void setShiftForeman(String shiftForeman) {
        this.shiftForeman = shiftForeman;
    }

    public String getShiftForemanName() {
        return shiftForemanName;
    }

    public void setShiftForemanName(String shiftForemanName) {
        this.shiftForemanName = shiftForemanName;
    }

    public Date getMeetingTime() {
        return meetingTime;
    }

    public void setMeetingTime(Date meetingTime) {
        this.meetingTime = meetingTime;
    }

    public String getExplains() {
        return explains;
    }

    public void setExplains(String explains) {
        this.explains = explains;
    }

    public String getAttachment() {
        return attachment;
    }

    public void setAttachment(String attachment) {
        this.attachment = attachment;
    }

    public String getSafetyPrecautions() {
        return safetyPrecautions;
    }

    public void setSafetyPrecautions(String safetyPrecautions) {
        this.safetyPrecautions = safetyPrecautions;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<PreShiftMeetingTeamMember> getTeamMemberList() {
        return teamMemberList;
    }

    public void setTeamMemberList(List<PreShiftMeetingTeamMember> teamMemberList) {
        this.teamMemberList = teamMemberList;
    }
}
